/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.giant.services.parametrics;

import com.giant.entities.TypeTax;
import com.giant.exceptions.OperacionInvalidaException;
import java.util.List;
import java.util.Map;
import javax.ejb.Local;

/**
 *
 * @author Harold
 */
@Local
public interface ServiceTypeTaxLocal {
 /**
     * 
     * @param typeTax
     * @throws OperacionInvalidaException 
     */
    public void addTypeTax(TypeTax typeTax)throws OperacionInvalidaException;

    /**
     * 
     * @param id
     * @throws OperacionInvalidaException 
     */
    public void removeTypeTax(long id)throws OperacionInvalidaException;

    /**
     * 
     * @return 
     */
    public List<TypeTax> getTypeTaxs();
    
    /**
     * 
     * @param a
     * @param map
     * @return 
     */
     public List<TypeTax> getTypeTaxsFilter(String a, Map<String, String> map);
}
